package com.yuanfengerp.salesReturn.service;

import com.yuanfengerp.publicUtil.Result;
import com.yuanfengerp.salesReturn.model.salesReturn;

import java.util.List;
import java.util.Map;

public interface ISalesReturnService {
    //新增退货单
    Result<salesReturn> insertReturnOrder(salesReturn salesReturn);
    //审核通过退货单
    Result<salesReturn> updateReturnOrderAgree(String[] salesReturnNumbers);
    //审核拒绝退货单
    Result<salesReturn> updateReturnOrderRefuse(String[] salesReturnNumbers);
    //通过单据号，仓库，操作人，操作日期，审核人，审核日期，状态，销售员，销售出库单号，结算状态，查询所有退货单
    Result<List<salesReturn>> selectAllReturnOrder(Map<String, Object> condition);
    //通过ID查看单条退货单
    Result<salesReturn> selectReturnOrder(String salesReturnNumber);
}
